<#include "../common/_layout.html" />
<@head title="导出历史记录管理编辑">
<style type="text/css">
	.cll {
		background-color: #ddd;
	}
</style>
</@head>
<@layout menu='/redbaglog'>
<section class="content-header">
	<h1>
		${pageTitleBread.department!pageTitleBread.default!}
	</h1>
	<ol class="breadcrumb">
		<li><a href="javascript:void(0);" onclick="location.href='${ctx}${pageTitleBread.breadHomeMethod!}'">首页</a></li>
		<li><a href="javascript:void(0);" onclick="location.href='${ctx}${pageTitleBread.url!}'">${pageTitleBread.pageTitle!}</a></li>
		<li class="active">${pageTitleBread.nowBread!}</li>
	</ol>
</section>
<section class="content">
	<div class="row">
		<div class="col-xs-12">
			<div class="box">
				<form action="/redbaglog/save" method="post" role="form">
					<legend>添加/修改信息</legend>
					<input type="hidden" name="id" id="id" value="${redbagLog.id!}">
					<div class="form-group">
						<label for="search_params">查询条件</label>
                        <textarea id="search_params" name="search_params" class="form-control" rows="5">${redbagLog.search_params!}</textarea>
					</div>
					<div class="form-group">
						<label for="last_adv_id">最后一次导出的建议ID</label>
						<input type="number" class="form-control" id="last_adv_id" name="last_adv_id" placeholder="最后一次导出的建议ID" value="${redbagLog.last_adv_id!}">
					</div>
					<div class="form-group">
						<label for="total">导出总数</label>
						<input type="number" class="form-control" id="total" name="total" placeholder="导出总数" value="${redbagLog.total!}">
					</div>
					<div class="form-group">
						<label for="status">状态</label>
						<input type="number" class="form-control" id="status" name="status" placeholder="状态" value="${redbagLog.status!}">
					</div>
					<div class="form-group">
						<label for="create_time"></label>
						<input type="date" class="form-control" id="create_time" name="create_time" value="<#if redbagLog.create_time??>${redbagLog.create_time?date}</#if>">
					</div>
					<button type="submit" class="btn btn-primary">保存</button><button type="submit" class="btn btn-cancle" onclick="javascript :history.back(-1);">返回</button>
				</form>
			</div>
		</div>
	</div>
</section>
</@layout>
<@scripts>
<script type="text/javascript">
	$(document).ready(function(){

	});
</script>
</@scripts>